<!--
 * @Descripttion: 
 * @version: 
 * @Author: yuanpingfang
 * @Date: 2023-04-08 20:53:40
 * @LastEditors: yuanpingfang
 * @LastEditTime: 2023-04-09 00:02:20
-->
<template>
  <div>
    <div class="block">
      <el-timeline>
        <el-timeline-item
          :timestamp="item.createTime"
          placement="top"
          v-for="item in noticeList"
          :key="item.noticeId"
          icon="el-icon-bell"
          color="#0bbd87"
          size="large"
        >
          <span style="font-size: 16px; font-weight: bold">{{
            item.noticeTitle
          }}</span>
          <span v-html="item.noticeContent"></span>
        </el-timeline-item>
      </el-timeline>
    </div>
  </div>
</template>

<script>
export default {
  name: "notice",
  props: {
    noticeList: {
      type: Array,
    },
  },
  data() {
    return {
      colon: false,
    };
  },
  created() {},
  methods: {},
};
</script>
